#!/bin/bash

DST_PATH=~/workspace/hiseg/data/dst

echo '------------------'`date +"%Y-%m-%d %H:%M:%S"`'------------------'
threads=`ls $DST_PATH`
for thread in $threads
do
	files=`ls $DST_PATH/$thread |sort -n`
	files=`echo $files|sort -r|awk '{$1="";print }'`
	cd $DST_PATH/$thread
	echo "cd $DST_PATH/$thread"
	rm $files
	echo "rm $files"
done

